package com.idealighter.game.group.message;

import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;

import com.idealighter.game.core.annotation.ResMsg;
import com.idealighter.game.group.dto.GroupInfoDto;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ResMessage;

import lombok.Data;

@ResMsg(ModuleMsgIdConstant.Group.GROUP_DETAIL)
@Data
public class ResGroupInfoMsg implements ResMessage {
  @Protobuf(order = 1)
  private int id = ModuleMsgIdConstant.Group.GROUP_DETAIL;

  @Protobuf(order = 2)
  private GroupInfoDto groupInfo;

  @Protobuf(order = 3)
  private boolean hasMsg;

  @Protobuf(order = 4)
  private int role;
}
